/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package my12306;

/**
 *
 * @author Jack
 */
public interface IUpdateImage {

    /**
     * this method is called by UpdateImageThread when download done. can do
     * something with the image in this method.
     *
     * @param image
     */
    public void updateImage(byte[] image);

    /**
     * return TrainClient instance which needed by UpdateImageThread to download
     * image
     *
     * @return
     */
    public TrainClient getTrainClient();
}
